// 获取元素高度
export const getViewHeight = (select, callback) => {
	let content = uni.createSelectorQuery().select(select);
	content
		.boundingClientRect(function(data) {
			const contentHeight = data.height; // 获取元素高度
			let height = contentHeight;
			callback(height)
		})
		.exec();
}
